<%@ include file="html_start.jsp"%>
<script type="text/javascript" src="js/overlib.js"></script>
<%-- Redirected because we can't set the welcome page to a virtual URL. --%>
<jsp:useBean id="priceData" class="service.PricedataData" />


<jsp:useBean id="rangePostProcessor"
	class="chartPostProcessors.RangePostProcessor">
	<jsp:setProperty name="rangePostProcessor" property="minMax"
		value="${card.minMaxValues}" />
</jsp:useBean>

<jsp:setProperty name="priceData" property="card" value="${card}" />


<cewolf:chart id="line${card}" title="Pricedata for ${card}" type="line"
	xaxislabel="Date" yaxislabel="Sellprice">
	<cewolf:data>
		<cewolf:producer id="priceData" usecache="false" />
	</cewolf:data>
	<cewolf:chartpostprocessor id="rangePostProcessor" />
</cewolf:chart>
<p><cewolf:img chartid="line${card}" renderer="cewolf" width="800"
	height="600">
	<cewolf:map tooltipgeneratorid="priceData" />
</cewolf:img></p>

<%
	session.removeAttribute("priceData");
%>


<%@ include file="/WEB-INF/jsp/html_end.jsp"%>
